<?php

declare (strict_types=1);

namespace app\services\v1\recovery;

use app\dao\v1\recovery\RecoveryUserSearchHistoryDao;
use app\services\BaseServices;
use crmeb\traits\ServicesTrait;

class RecoveryUserSearchHistoryServices extends BaseServices
{

    use ServicesTrait;


    public function __construct(RecoveryUserSearchHistoryDao $dao)
    {
        $this->dao = $dao;
    }


    /**
     * 添加一条用户搜索
     * @param array $add_data
     * @return int|string
     */
    public function createOne(array $add_data)
    {
        return $this->dao->createOne($add_data);
    }

}